package com.party.core.service.commune;

import com.party.common.paging.Page;
import com.party.core.model.commune.CIntegralType;
import com.party.core.model.commune.CIntegralTypeOutput;
import com.party.core.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * @program: party
 * @description: 积分类型服务接口
 * @author: Hua Qunhao
 * @create: 2019-08-12 14:21
 **/
public interface ICIntegralTypeService extends IBaseService<CIntegralType> {

    List<CIntegralType> webPageList(Map<String, Object> params, Page page);

    List<CIntegralTypeOutput> queryMedalListByPmIdAndPartnerId(String cuiPartnerId, String partnerId, String memberId, Page page);

    List<CIntegralType> getAllTypes(String pmId);
    List<CIntegralTypeOutput> queryMedalListByPmIdAndPartnerId2(String cuiPartnerId, String partnerId, String memberId, Page page);

    CIntegralType getIntegralTypeByName(String name);
}